-- command password
osbf.cfg_pwd = "your_password_here" -- no spaces allowed

-- database files
osbf.cfg_nonspam_file = "nonspam.cfc"
osbf.cfg_spam_file    = "spam.cfc"

osbf.cfg_classify_flags    = 0  -- flags for classification
osbf.cfg_learn_flags       = 0  -- flags for learning

osbf.cfg_threshold         = 10 -- reinforcement zone (-threshold, +threshold)
osbf.cfg_unlearn_threshold = 3  -- Use 0 for SSTTT or > 0 for DSTTT
osbf.cfg_learn_threshold   = 20 -- max previous absolute score for a msg to be
			        -- used in a training. This is a protection
			        -- against overtraining
			
osbf.cfg_min_pR_success  = 0  -- min pR to be considered nonspam

-- tags for the subject line
osbf.cfg_tag_subject     = true
osbf.cfg_tag_spam        = "[--]"  -- tag for spam messages
osbf.cfg_tag_unsure_spam = "[-]"   -- tag for probably spam messages
osbf.cfg_tag_unsure_ham  = "[+]"   -- tag for probably ham messages
osbf.cfg_tag_ham         = ""      -- tag for ham messages

-- table with all tags
osbf.cfg_alltags  = {osbf.cfg_tag_spam, osbf.cfg_tag_unsure_spam,
			osbf.cfg_tag_ham, osbf.cfg_tag_unsure_ham} 

-- training result subjects
osbf.cfg_trained_as_spam        = "Trained as spam"
osbf.cfg_trained_as_nonspam     = "Trained as nonspam"
osbf.cfg_training_not_necessary = "Training not necessary"

-- log options
osbf.cfg_log_dir        = "log"  -- relative to user osbf-lua dir
osbf.cfg_log_incoming   = true  -- log all incoming_messages
osbf.cfg_log_learned    = true  -- log learned messages

-- SFID rightid - change it to personalize for your site.
osbf.cfg_rightid        = "spamfilter.osbf.lua"

-- Turn on to use Lua-regex in white and black lists. Check the whitelist
-- command in the help message before turning this on.
osbf.cfg_lists_use_regex = false
 
-- set osbf.cfg_remove_body_threshold to the spam score below which
-- you want the message body to be removed. Use this option after
-- you have well trained databases:
-- osbf.cfg_remove_body_threshold = -2 * osbf.cfg_threshold

